<!DOCTYPE html>
<!--[if lt IE 7]> <html dir="ltr" lang="en-US" class="ie6"> <![endif]-->
<!--[if IE 7]>    <html dir="ltr" lang="en-US" class="ie7"> <![endif]-->
<!--[if IE 8]>    <html dir="ltr" lang="en-US" class="ie8"> <![endif]-->
<!--[if gt IE 8]><!--> <html dir="ltr" lang="en-US"> <!--<![endif]-->
<%@ page pageEncoding="UTF-8"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<!-- BEGIN head -->
<head>

	<!--Meta Tags-->
	<meta name="viewport" content="width=device-width; initial-scale=1.0" />
	
		
	<!--Title-->
	<title><bean:message key="public.myname" />-<bean:message key="public.domain" /></title>
	<meta name="keywords" content="<bean:message key='home.keywords' />" />
	<meta name="description" content="<bean:message key='home.description' />" />
	<!--Stylesheets-->
	<link rel="stylesheet" href="css/superfish.css" type="text/css" media="all" />
	<link rel="stylesheet" href="css/prettyPhoto.css" type="text/css" media="all" />
	<link type="text/css" href="css/jqueryui/jquery.ui.datepicker.css" rel="stylesheet" />
	<link rel="stylesheet" href="style.css" type="text/css" media="all" />
	<link rel="stylesheet" href="css/responsive.css" type="text/css" media="all" />
	<link rel="stylesheet" href="css/flexslider.css" type="text/css" media="all" />
	<link rel="stylesheet" href="css/colours/green.css" type="text/css" media="all" />
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css' />
	<link href='http://fonts.googleapis.com/css?family=Cardo:400,400italic,700' rel='stylesheet' type='text/css' />

	<!--Favicon-->
	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />

	<!--JavaScript-->
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
	<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js'></script>
	<script type='text/javascript' src='js/jquery.prettyPhoto.js'></script>
	<script type="text/javascript" src="js/superfish.js"></script>
	<script type="text/javascript" src="js/jquery.flexslider-min.js"></script>
	<script type="text/javascript" src="js/scripts.js"></script>
	<script type="text/javascript" src="js/tools.js"></script>
	<!--[if (gte IE 6)&(lte IE 8)]>
		<script type="text/javascript" src="js/selectivizr-min.js"></script>
	<![endif]-->

<!-- END head -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>

<!-- BEGIN body -->
<body>

	<!-- BEGIN .wrapper -->
	<div class="wrapper">
		<%@ include file="header.jsp"%>
		<!-- BEGIN .slider -->
		<div class="slider slide-loader clearfix">
			<ul class="slides">
			  <logic:iterate id='cateItem' name='topCates' indexId="index">
			    <li>
					<a href="<bean:write name='cateItem' property='url'/>/all.html" title="<bean:write name='cateItem' property='keyword'/>" ><img src="images/Wedding<bean:write name='index'/>.jpg" alt="<bean:write name='cateItem' property='keyword'/>" /></a>
					<div class="flex-caption">
						<p><bean:write name='cateItem' property='keyword'/></p>
						<div class="clearboth"></div>
						<p>30%-60%<bean:message key="public.discount" /></p>
					</div>
				</li>
			  </logic:iterate>
			</ul>
		<!-- END .slider -->
		</div>
		
		<!-- BEGIN .section -->
		<div class="section section-mini">
			<h2 class="site-intro"><bean:message key="home.publicdesc" /></h2>
		<!-- END .section -->
		</div>
		
		<!-- BEGIN .section -->
		<div class="section-mini2">
			
			<div class="tag-title-wrap clearfix">
				<h4 class="tag-title"><bean:message key="home.featcate" /></h4>
			</div>
			
			<ul class="columns-4 clearfix">
			  <logic:iterate id='cateItem' name='topCates' indexId="index">
				<li class="col4">
					<!-- BEGIN .slider -->
					<div class="slider-single slide-loader-single clearfix">
						<ul class="slides">
							<logic:iterate id="dressItem" name="cateItem" property="wdressList">
								<li><a href="dress/<bean:write name='dressItem' property='dress_url'/>_<bean:write name='dressItem' property='dress_id'/>.html" title="<bean:write name='dressItem' property='dress_name'/>" ><img src="<bean:write name='dressItem' property='image'/>" alt="<bean:write name='dressItem' property='dress_name'/>" /></a></li>
							</logic:iterate>
						</ul>
					</div>
					<!-- END .slider -->
					<br /> 
					<p class="product-title"><a href="<bean:write name='cateItem' property='url'/>/all.html"><bean:write name='cateItem' property='keyword'/></a></p>
					<p class="product-price">30%-60%<bean:message key="public.discount" /></p>
					<p class="product-button clearfix"><a href="<bean:write name='cateItem' property='url'/>/all.html" class="button2"><bean:message key="public.checkrate" />&raquo;</a></p>
				</li>
			  </logic:iterate>
			</ul>
			
		<!-- END .section -->
		</div>
		
		<!-- BEGIN .section -->
		<div class="section-mini2">
			
			<div class="tag-title-wrap clearfix">
				<h4 class="tag-title"><bean:message key="home.featprod" /></h4>
			</div>
			
			<ul class="columns-4 clearfix">
			    <logic:iterate  id="dressItem" name="dresslist">
				<li class="col4">
					<a href="dress/<bean:write name='dressItem' property='dress_url'/>_<bean:write name='dressItem' property='dress_id'/>.html" title="<bean:write name='dressItem' property='dress_name'/>"><img src="<bean:write name='dressItem' property='image'/>" alt="<bean:write name='dressItem' property='dress_name'/>" class="full-image product-image" /></a>
					<p class="product-title"><a href="dress/<bean:write name='dressItem' property='dress_url'/>_<bean:write name='dressItem' property='dress_id'/>.html" title="<bean:write name='dressItem' property='dress_name'/>">
					  <bean:define id="nameStr" name="dressItem" property="dress_name" type="java.lang.String"/><%=nameStr.substring(0,32)+"..." %></a></p>
					<p class="product-price"><bean:message key="public.money" /><bean:write name='dressItem' property='discount_price'/>&nbsp;&nbsp;&nbsp;&nbsp;<span class="price-original"><bean:message key="public.money" /><bean:write name='dressItem' property='price'/></span></p>
					<p class="product-button clearfix"><a onclick="gobuyit('<bean:write name='dressItem' property='buy_url'/>')" class="button2"><bean:message key="public.checkrate" />&raquo;</a></p>
				</li>
				</logic:iterate>
			</ul>
			
		<!-- END .section -->
		</div>
		
		<!-- BEGIN .section -->
		<div class="section">
			
			<div class="tag-title-wrap clearfix">
				<h4 class="tag-title"><bean:message key="home.testimonials" /></h4>
			</div>
			
			<ul class="columns-2 clearfix">
				<li class="col2">
					<div class="testimonial-wrapper clearfix">
						<div class="testimonial-author-image">
							<img src="images/author.png" alt="" />
						</div>
						<p class="testimonial-text">&ldquo;<bean:message key="temp.c1" /> &rdquo;</p>
						<div class="testimonial-speech"></div>
					</div>	
					<p class="testimonial-author">Sarah Cooper - <span>Princess wedding dresses</span></p>
				</li>
				<li class="col2">
					<div class="testimonial-wrapper clearfix">
						<div class="testimonial-author-image">
							<img src="images/author.png" alt="" />
						</div>
						<p class="testimonial-text">&ldquo;<bean:message key="temp.c2" />&rdquo;</p>
						<div class="testimonial-speech"></div>
					</div>	
					<p class="testimonial-author">Dave Jones - <span>Ball gown wedding dresses</span></p>
				</li>
			</ul>
			
		<!-- END .section -->
		</div>
		
		<%@ include file="footer.jsp"%>
			
	<!-- END .wrapper -->
	</div>
	
<!-- END body -->
</body>
</html>